@charset "utf-8";
/* created by Toma on 2016年4月29日10:30:26 */

@import "toma";

// 灰度滤镜
@mixin grayscale($g:100%){
  /** 格式，filer: grayscale(效果范围)
   *  效果范围，取值范围为0-1或0-100%；0表示无效果，1或100%表示最大效果
   */
  -webkit-filter: grayscale($g);
  -o-filter: grayscale($g);
  -moz-filter: grayscale($g);
  -ms-filter: grayscale($g);
  filter: grayscale($g);
}
.gray{
  @include grayscale();
}


/* 标题 */
header{
  .logo{
    width: 50%;
    display: block;
    margin: 34px auto;
  }
}

/* 视频投票 */
.video-box{
  margin-bottom: 30px;
  .tit{
    color: #fff;
    font-size: 21px;
    margin-bottom: 10px;
  }
}
.vote-ul{
  font-size: 0;
  text-align: center;
  .vote-item{
    width: 25%;
    display: inline-block;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    color: #fff;

    .vote-tit{
      margin-bottom: 18px;
    }
    .vote-no{
      font-size: 18px;
    }
  }
}
.btn-box{
  margin: 32px 0;
  text-align: center;
  font-size: 0;

  .btn-default{
    display: inline-block;
    width: 40%;
    height: 40px;
    line-height: 40px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    border-radius: 4px;
    border-bottom: 1px solid #d2ac7c;
    background-color: #c2a27a;
    -webkit-box-shadow: -2px 2px 1px #606163;
    box-shadow: -2px 2px 1px #606163;

    &:first-child{
      margin-right: 5%;
    }
  }
}

/* 文字介绍 */
.introduction{
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 36px;
  color: #fff;
  .int-ol{
    margin-left: 20px;
  }
  .int-item{
    margin-bottom: 16px;
    position: relative;
    &:before{
      content: attr(data-tab);
      position: absolute;
      left: -18px;
      top: 0;
    }
  }
  &.int-content{
    margin: 0 40px 60px 15px;
  }
}

/* 导航按钮 */
.nav{
  position: fixed;
  top: 0;
  right: 0;
  background-image: url(../img/tab.png);
  background-repeat: no-repeat;
  width: 30px;
  height: 415px;
  .nav-layer{
    .nav-a{
      display: block;
      width: 100%;
      text-align: center;
      height: 80px;
      padding-top: 18px;
      color: #fff;
      font-size: 15px;
    }
    &:nth-child(2) .nav-a{
      padding-top: 15px;
      height: 70px;
    }
    &:nth-child(3) .nav-a{
      padding-top: 12px;
      height: 60px;
    }
    &:nth-child(4) .nav-a{
      padding-top: 25px;
      height: 100px;
    }
    &:nth-child(5) .nav-a{
      padding-top: 20px;
      height: 100px;
    }
    &.action .nav-a{
      color: #B75E45;
    }
  }
}

/* 列表排名 */
.container{
  margin: 40px 40px 40px 15px;
  min-height: 346px;
  .c-layer{
    height: 34px;
    line-height: 28px;
    color: #fff;
    @extend %text-truncate;
  }
  .c-num{
    width: 76px;
  }
}

/* 分享 */
.share{
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top:0;
  left:0;
  background: rgba(0,0,0,.8);
  z-index: 900;
  img{
    position: absolute;
    top: 10px;
    right: 6px;
    width: 60%;
    max-width: 100%;
  }
}

/* 图标 */
.icon{
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url(../img/btn.png);
  -webkit-background-size: auto 100%;
  background-size: auto 100%;

  &.ic-heart{
    background-position: -34px 0;
  }
  &.ic-smile{
    background-position: -67px 0;
  }
  &.ic-light{
    background-position: -104px 0;
  }
  &.ic-sun{
    background-position: -135px 0;
  }
  &.ic-user{
    background-position: 0 0;
  }
}
.icon-min{
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url(../img/btn.png);
  -webkit-background-size: auto 100%;
  background-size: auto 100%;
  vertical-align: -5px;

  &.ic-heart{
    background-position: -25px 0;
  }
  &.ic-smile{
    background-position: -47px 0;
  }
  &.ic-light{
    background-position: -70px 0;
  }
  &.ic-sun{
    background-position: -94px 0;
  }
  &.ic-user{
    background-position: 0 0;
  }
}